package com.bolehui.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bolehui.domain.dto.JobDTO;
import com.bolehui.domain.po.JobPO;
import com.bolehui.domain.vo.JobVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.time.LocalDate;
import java.util.List;

/**
 * @author chendongjie     email:chendongjie@gz.iscas.ac.cn
 * @version 1.0
 * @ClassName JobMapper
 * @Description
 * @createTime 2024/12/11 14:37
 * Copyright (C) 2021-2022 CASEEDER, All Rights Reserved.
 * 注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的
 */
@Mapper
public interface JobMapper extends BaseMapper<JobPO> {

    Long countByCreateTimeBetween(LocalDate startDate, LocalDate endDate);

    List<JobDTO> filterJobs(JobVO jobVO);

    int updateJob(JobPO jobPO);

    List<JobPO> selectJobs(LambdaQueryWrapper<Object> objectLambdaQueryWrapper);
}
